// 类别请求
import request from '@/utils/request'
// 获取分类
export const getCategoryAPI = () => request.get('/my/cate/list')
// 新增文章
export const addCategoryAPI = data => request.post('/my/cate/add', data)
// 根据id删除文章
export const deleteCategoryAPI = id => request.delete('/my/cate/del', { params: { id } })
// 修改文章
export const updateCategoryAPI = data => request.put('/my/cate/info', data)
